package com.pig4cloud.pig.propertyroom.feign;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.pig4cloud.pig.common.core.constant.ServiceNameConstants;
import com.pig4cloud.pig.common.core.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(contextId = "remoteFloorService", value = ServiceNameConstants.FLOOR_SERVICE)
public interface RemoteFloorService {
	@GetMapping("/floor/getFloor")
	public R getFloor(@RequestParam("unitId") Long unitId);
}
